/*
 * HullPart.java
 * Team qq 2011
 */
package com.google.code.timetrail.backend;
/**
 * Item implementation of a hull part
 * @author Steven
 * @version 1.0
 *
 */
public class HullPart extends Item {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3050L;

	/** The weight of one hull part*/
	private static final int HULLP_WEIGHT = 125;

	/** The cost of one hull part*/
	private static final int HULLP_VALUE = 10;

	/** The max allowed hullparts in an inventory*/
	private static final int HULLP_MAX = 5;

	/** HullPart's name*/
	private static final String HULLP_NAME = "Hull Part";

	/**
	 * Getter for HullPart's weight
	 * @return the weight of one hullpart
	 */
	@Override
	public int getWeight() {
		return HULLP_WEIGHT;
	}
	
	/**
	 * Getter for HullPart's base value
	 * @return the base value of one hullpart
	 */
	@Override
	public int getValue() {
		return HULLP_VALUE;
	}
	
	/**
	 * Getter for the maximum allowed hullparts
	 * @return the maximum amount of hullparts allowed in an inventory
	 */
	@Override
	public int getMaxAmount() {
		return HULLP_MAX;
	}
	
	/**
	 * Getter for HullPart's name
	 * @return the name for a hullpart
	 */
	@Override
	public String getItemName() {
		return HULLP_NAME;
	}

}
